﻿<UserControl x:Class="OI.Views.ShareNoticeView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Height="150" Width="Auto">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel Orientation="Vertical" HorizontalAlignment="Center">
            <TextBlock Text="The following link may be used to share the session you have saved:" 
                       Style="{StaticResource GeneralText}"
                       HorizontalAlignment="Center"
                       Margin="4"/>
            <TextBox x:Name="ShareLink"
                       Width="Auto"
                       Text="{Binding ShareLink}"
                       HorizontalAlignment="Center"
                       Margin="4"/>
            <TextBlock Text="This link has been copied to your clipboard"
                       Visibility="{Binding HasClipboard, Converter={StaticResource BoolToVisibility}}"
                       Style="{StaticResource GeneralText}"
                       HorizontalAlignment="Center"
                       Margin="4"/>

            <Button Name="Close" Content="OK" HorizontalAlignment="Center" Margin="4,24,4,4" Width="48"/>
        </StackPanel>
    </Grid>
</UserControl>
